#include "../mqserver/mq_connection.hpp"

int main()
{
    zymq::ConnectionManager::ptr cmp = std::make_shared<zymq::ConnectionManager>();

    cmp->newConnection(muduo::net::TcpConnectionPtr(),
        zymq::ProtobufCodecPtr(),
        std::make_shared<zymq::ConsumerManager>(),
        std::make_shared<zymq::VirtualHost>("host1", "./data/host1/message/", "./data/host1/host1.db"),
        threadpool::ptr());

    return 0;
}